<template>
  <el-dialog
    title="提示"
    :visible.sync="dialogVisible"
    width="30%"
    :modal-append-to-body="false"
    :before-close="handleClose"
  >
    <span>这是一段信息</span>
  </el-dialog>
</template>
<script>

export default {
    props: {
    dialogVisible: {
      type: Boolean,
      default: ''
    }
    },
  data() {
    return {
        
    };
  },
  methods: {
    handleClose(){
        this.$emit('handleClose','false');
    }
  }
};
</script>
<style scoped>

</style>